package academic.emailClient.control.listeners;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import academic.emailClient.model.EmailClientModel;
import academic.emailClient.view.EmailClientViewInterface;

public class CopyLocationButtonActionListener implements ActionListener{
	
	private EmailClientViewInterface view;
	private EmailClientModel model;
	
	/**
	 * Constructor
	 * @param view
	 */
	public CopyLocationButtonActionListener(EmailClientViewInterface view, EmailClientModel model){
		this.view = view;
		this.model = model;
	}
	
	/**
	 * just will show a popup window that this template is discarded
	 */
	public void actionPerformed(ActionEvent evt) {
		view.copyLocation();
    }   
}
